export const array = {
  replaceAt (array, index, newItem) {
    return array.slice(0, index)
      .concat(newItem, array.slice(index + 1))
  }
}
